<div class="container margin-t20">
      <div id="dashboard" class="row-fluid"><div id="newsFeed" class="row-fluid">
    <div class="span8 tabbable news-feed" id="events">
<div class="tab-content">

    <div class="tab-pane active">
        <ul id="eventlist" class="">
            <?php $this->widget("SystemUserNoticeWidget"); ?>
            <?php foreach($logs as $value): ?>
  <?php 
    if ($value->action_table == "tbl_job") {
      $data = Job::model()->findByPk($value->action_id_create);
      if ($data != null && $data->status == 1) {
          $this->widget("ViewJobBidAllWidget",array('jobbid'=>$data));    
      }
      if ($data != null && $data->status == 0 && $value->type == 1)  {
          $this->widget("JobCreateWidget",array('data'=>$data));
      }
      if ($data != null && $data->status == -1) {
          $this->widget("ChangeJobWidget",array('data'=>$data));
      }
      if ($data != null && $data->status == 0 && $value->type == 4)  {
          $this->widget("ChangeJobWidget",array('data'=>$data,'status'=>1));
      }
    }
  ?>
<?php endforeach; ?>
</ul>
        <span id="pageBottom" align="center"></span>

    </div>

</div></div>

</div></div> <!-- /container -->




  </div>
  <?php $this->widget('ext.yiinfinite-scroll.YiinfiniteScroller', array(
    'contentSelector' => '#eventlist',
    'itemSelector' => 'div.news-list-wrapper',
    'loadingText' => 'Loading...',
    'donetext' => 'This is the end... my only friend, the end',
    'pages' => $pages,
)); ?>